package com.genesis.mall.mapper;

import com.genesis.mall.entity.UmsMemberReceiveAddress;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 会员收货地址表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2022-08-01
 */
@Mapper
public interface UmsMemberReceiveAddressMapper extends BaseMapper<UmsMemberReceiveAddress> {
    @Update("update ums_member_receive_address set default_status = 0  where member_id =#{memberId}")
    void updateAll(Long memberId);
}
